using System;
using System.Text;

namespace Icodeon.Scorm2CC.Console
{
    public class ConsoleSupport
    {
        public const string UI_TYPE_CONSOLE = "console";
        public const string UI_TYPE_GUI = "gui";

        public static void PrintAbout()
        {
            System.Console.WriteLine("");
            System.Console.WriteLine("*** SCORM 2 CC ***");
            System.Console.WriteLine("");
            System.Console.WriteLine("Icodeon Ltd:  http://www.icodeon.com");
            System.Console.WriteLine("PsyDev Ltd:   http://www.psydev.com/");
            System.Console.WriteLine("Project:      http://www.codeplex.com/scorm2cc");
            System.Console.WriteLine("");
            System.Console.WriteLine("For usage, enter \'s2cc ?\'");
            System.Console.WriteLine("");
        }

        public static void PrintUsage()
        {
            System.Console.WriteLine("");
            System.Console.WriteLine("*** SCORM 2 CC Usage ***");
            System.Console.WriteLine("");
            System.Console.WriteLine("?         Show help.");
            System.Console.WriteLine("/about    Show version information.");
            System.Console.WriteLine("/help     Show help.");
            System.Console.WriteLine("/in:      Path to SCORM packages directory.");
            System.Console.WriteLine("/gui:     Use 'console' or none.");
            System.Console.WriteLine("/out:     Path to output directory.");
            System.Console.WriteLine("/quit:    Application exit.");
            System.Console.WriteLine("/xsl:     Path to transform stylesheet.");
            System.Console.WriteLine("");
            System.Console.WriteLine("Examples:");
            System.Console.WriteLine("");
            System.Console.WriteLine("\'s2cc /in:scorm /xsl:scorm2cc/scorm${version}cc.xslt /out:cc /gui:console\'");
            System.Console.WriteLine("\'s2cc /in:c:/documents/scorm /xsl:scorm2cc/scorm${version}cc.xslt /out:c:/documents/cc\'");
            System.Console.WriteLine("\'s2cc ?\'");
            System.Console.WriteLine("\'s2cc about\'");
        }
    }
}
